%% BuildSimulation.m
% Builds the SPHERES simulation

%% Configuration
%Use this cell to add any additional source files beyond the common folder
%that need to be compiled.  Should be specified as a relative or absolute
%path to a specific .c file.

zrcore = '../common/ZRCore';
srcs = {fullfile(zrcore,'ZR_API.c')};

%Use this cell to add folders that should be on the compiler include path
inc = {zrcore};

%Use this cell to add preprocessor definitions
defines = {'ZRSIMULATION'};

%Number of satellites
nSph = 3;

%% Run the build function
BuildSpheresMexFun(nSph,'../',srcs,inc,defines);